import { ApiCall } from "tsrpc";
import { ReqGuess, ResGuess } from "../../../../shared/master/minGame/Guess/PtlGuess";
import { player } from "../../../../model/fight/body/player";
import guess from "./guess";

export default async function (call: ApiCall<ReqGuess, ResGuess>) {
    call.succ({})
    let user = call.req._player as player;
    guess.guess(user,call.req.num)
}